def test_a():
    try:
        assert 1/0 ==1
    except(ValueError,ArithmeticError):
        print("发生数字格式异常或者算数异常")
    except:
        print("发生其他异常")
    print("--test_a")